
---@class CustomLookAtAction:ActionBase
CustomLookAtAction = class(ActionBase)

function CustomLookAtAction:GetLabel()
    return ECustomActionLabel.LookAt;
end

function CustomLookAtAction:GetCost()
    return 0;
end

function CustomLookAtAction:GetPriority()
    return 10;
end

function CustomLookAtAction:GetCanInterruptiblePlan()
    return false;
end

function CustomLookAtAction:InitPreconditions()
    local state = State.new()
    state:Set(ECustomStateKey.Find_target,true);
    return state;
end

function CustomLookAtAction:InitEffects()
    local state = State.new()
    return state;
end